package cn.lzm.fault.tolerant;

/**
 * @author lzm
 * @Date 2024/11/8
 * @description 容错策略键名常量
 */
public interface TolerantStrategyKeys {

    /**
     * 故障恢复
     *
     * @see FailBackTolerantStrategy
     */
    String FALL_BACK = "fallBack";

    /**
     * 快速失败
     *
     * @see FailFastTolerantStrategy
     */
    String FAIL_FAST = "failFast";

    /**
     * 故障转移
     *
     * @see FailOverTolerantStrategy
     */
    String FAIL_OVER = "failOver";

    /**
     * 静默处理
     *
     * @see FailSafeTolerantStrategy
     */
    String FAIL_SAFE = "failSafe";
}
